package cn.ibizlab.odoo.core.odoo_calendar.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_calendar.domain.Calendar_alarm_manager;
import cn.ibizlab.odoo.core.odoo_calendar.filter.Calendar_alarm_managerSearchContext;

/**
 * 实体[Calendar_alarm_manager] 服务对象接口
 */

public interface ICalendar_alarm_managerService{
     Calendar_alarm_manager get(Integer id) ;
     Calendar_alarm_manager get(Calendar_alarm_manager calendar_alarm_manager) ;
     void updateBatch(List<Calendar_alarm_manager> calendar_alarm_managers, int batchSize) ;
     boolean update(Calendar_alarm_manager calendar_alarm_manager) ;
     void createBatch(List<Calendar_alarm_manager> calendar_alarm_managers, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean remove(Integer id) ;
     boolean create(Calendar_alarm_manager calendar_alarm_manager) ;

    /**
     * 查询集合 默认查询
     */
    Page<Calendar_alarm_manager> searchDefault(Calendar_alarm_managerSearchContext context) ;

    /**
     * 转换ClientModel为Domain
     */
    public Calendar_alarm_manager convert2Domain(cn.ibizlab.odoo.core.client.model.Icalendar_alarm_manager model ,Calendar_alarm_manager domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Icalendar_alarm_manager convert2Model(Calendar_alarm_manager domain , cn.ibizlab.odoo.core.client.model.Icalendar_alarm_manager model);

}
